import request from '@/utils/request'
export const getpermissionList = (data) => {
  return request.get('/sys/permission', {

  })
}
export const addpermission = (data) => {
  return request.post('/sys/permission', data)
}
export const updatepermission = (data) => {
  return request.put(`/sys/permission/${data.id}`, data)
}
export const deletepermission = (id) => {
  return request.delete(`/sys/permission/${id}`)
}
